using System.Configuration;
namespace WebClient.Helpers
{
	public static class WebConfiguration
	{
		public static string SiteName
		{
			get
			{
				return ConfigurationManager.AppSettings["SiteName"];
			}
		}

		public static string MailServer
		{
			get
			{
				return ConfigurationManager.AppSettings["MailServer"];
			}
		}

		public static string EnableErrorLogEmail
		{
			get
			{
				return ConfigurationManager.AppSettings["EnableErrorLogEmail"];
			}
		}

		public static string ErrorLogEmail
		{
			get
			{
				return ConfigurationManager.AppSettings["ErrorLogEmail"];
			}
		}

        public static int UploadImageWidth
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["UploadImageWidth"]);
            }
        }

        public static int UploadImageHeight
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["UploadImageHeight"]);
            }
        }

		public static string EmailLienHe { get; set; }
		public static string PasswordEmailLienHe { get; set; }

		public static int NumFoodTypePerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumFoodTypePerPage"]);
			}
		}

		public static int NumsysdiagramsPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumsysdiagramsPerPage"]);
			}
		}

		public static int NumMenuPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumMenuPerPage"]);
			}
		}

		public static int NumInformationWebPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumInformationWebPerPage"]);
			}
		}

		public static int NumRestaurantPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumRestaurantPerPage"]);
			}
		}

		public static int NumContactPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumContactPerPage"]);
			}
		}

		public static int NumReplyPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumReplyPerPage"]);
			}
		}

		public static int NumFoodPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumFoodPerPage"]);
			}
		}

		public static int Numaspnet_UsersPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["Numaspnet_UsersPerPage"]);
			}
		}

		public static int NumUsersPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumUsersPerPage"]);
			}
		}

		public static int NumCityPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumCityPerPage"]);
			}
		}

		public static int NumOrdersPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumOrdersPerPage"]);
			}
		}

		public static int NumDistrictPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumDistrictPerPage"]);
			}
		}

		public static int NumOrderDetailPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumOrderDetailPerPage"]);
			}
		}

		public static int RestaurantSortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["RestaurantSortDescription"]);
			}
		}

	}
}
